package po;

import java.io.Serializable;
import java.util.*;

public class OrderPO implements Serializable{
	private int orderID;
	private String date;
	private OrderStatus status;
	private ArrayList<BookPO> books = new ArrayList<BookPO>();
	private ArrayList<Integer> numbers = new ArrayList<Integer>();
	private double totalPrice;
	private String name;
	private String phone;
	private String address;

	public OrderPO(int orderID, String date, OrderStatus status,
			ArrayList<BookPO> books, ArrayList<Integer> numbers,
			double totalPrice, String name, String phone, String address) {
		this.orderID = orderID;
		this.date = date;
		this.status = status;
		this.books = books;
		this.numbers = numbers;
		this.totalPrice = totalPrice;
		this.name = name;
		this.phone = phone;
		this.address = address;
	}

	public int getOrderID() {
		return orderID;
	}
	
	public String getDate() {
		return date;
	}
	
	public OrderStatus getStatus() {
		return status;
	}
	
	public void setStatus(OrderStatus status) {
		this.status = status;
	}
	
	public ArrayList<BookPO> getBooks() {
		return books;
	}
	
	public void setBooks(ArrayList<BookPO> books) {
		this.books = books;
	}
	
	public ArrayList<Integer> getNumbers() {
		return numbers;
	}

	public void setNumbers(ArrayList<Integer> numbers) {
		this.numbers = numbers;
	}

	public double getTotalPrice() {
		return totalPrice;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getPhone() {
		return phone;
	}
	
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	public String getAddress() {
		return address;
	}
	
	public void setAddress(String address) {
		this.address = address;
	}
	
}
